package com.yang.modules.common.lock;

import java.util.function.Supplier;

/**
 * @author Billyang
 * @date 2024/8/5 15:20
 */
public interface LockClient {

    <V> V doInLock(String name, Supplier<V> supplier);
}
